package com.sright.bcard.content.dal.dao.impl;

import com.sright.bcard.common.service.share.base.dao.BaseDAOImpl;
import com.sright.bcard.common.service.share.base.dao.BaseMapper;
import com.sright.bcard.content.dal.dao.UserInfoCheckResultDAO;
import com.sright.bcard.content.dal.entity.UserInfoCheckResultDO;
import com.sright.bcard.content.dal.mapper.UserInfoCheckResultDOMapper;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

@Repository
public class UserInfoCheckResultDAOImpl extends BaseDAOImpl<UserInfoCheckResultDO> implements UserInfoCheckResultDAO {
    @Resource
    private UserInfoCheckResultDOMapper userInfoCheckResultDOMapper;

    @Override
    protected BaseMapper<UserInfoCheckResultDO> getObjMapper() {
        return userInfoCheckResultDOMapper;
    }

    @Override
    public UserInfoCheckResultDO selectByUserId(Long userId) {
        return userInfoCheckResultDOMapper.selectByUserId(userId);
    }
}
